//
//  CommonCollectionViewCell.m
//  礼物说分类
//
//  Created by mafeng on 16/8/2.
//  Copyright © 2016年 mafeng. All rights reserved.
//

#import "CommonCollectionViewCell.h"

@implementation CommonCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 130, 80)];
        //_imageView.backgroundColor = [UIColor yellowColor];
        _imageView.image = [UIImage imageNamed:@"lan"];
        [self addSubview:_imageView];
        
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, 80, 30)];
        //_titleLabel.backgroundColor = [UIColor cyanColor];
        _titleLabel.text = @"花样年华";
        [self addSubview:_titleLabel];
        
        _desLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 30, 80, 30)];
        _desLabel.text = @"花样年华";
        //_desLabel.backgroundColor = [UIColor blueColor];
        [self addSubview:_desLabel];
        
       
    }
    return self;
}
@end
